package com.lock.immersive.pojo.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @TableName coupon
 */
@TableName(value ="user_coupon")
@Data
public class UserCoupon implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer userCouponId;


    private Integer couponId;

    private Integer userId;

    /**
     *
     */
    @TableField(fill = FieldFill.INSERT)
    private String createTime;

    /**
     *
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String  updateTime;

    /**
     *
     */
    private Integer isUsed = 0;

    @TableLogic
    private Integer isDelete = 0;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}